package com.office.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.office.common.annotation.Excel;
import com.office.common.core.domain.BaseEntity;

/**
 * 报修管理对象 sys_request
 * 
 * @author ruoyi
 * @date 2024-07-23
 */
public class SysRequest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报修记录id */
    private Long requestId;

    /** 办公用品id */
    @Excel(name = "办公用品id")
    private Long officeId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long userId;

    /** 报修的日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报修的日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date requestDate;

    /** 报修问题 */
    @Excel(name = "报修问题")
    private String requestProblem;

    /** 报修状态 */
    @Excel(name = "报修状态")
    private String requestStauts;

    /** 维修日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintenanceDate;

    /** 维修完成日期 */
    private Date completionDate;

    /** 维修费用 */
    private BigDecimal requestCost;

    /** 维修人员 */
    @Excel(name = "维修人员")
    private String requestName;

    public void setRequestId(Long requestId) 
    {
        this.requestId = requestId;
    }

    public Long getRequestId() 
    {
        return requestId;
    }
    public void setOfficeId(Long officeId) 
    {
        this.officeId = officeId;
    }

    public Long getOfficeId() 
    {
        return officeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setRequestDate(Date requestDate) 
    {
        this.requestDate = requestDate;
    }

    public Date getRequestDate() 
    {
        return requestDate;
    }
    public void setRequestProblem(String requestProblem) 
    {
        this.requestProblem = requestProblem;
    }

    public String getRequestProblem() 
    {
        return requestProblem;
    }
    public void setRequestStauts(String requestStauts) 
    {
        this.requestStauts = requestStauts;
    }

    public String getRequestStauts() 
    {
        return requestStauts;
    }
    public void setMaintenanceDate(Date maintenanceDate) 
    {
        this.maintenanceDate = maintenanceDate;
    }

    public Date getMaintenanceDate() 
    {
        return maintenanceDate;
    }
    public void setCompletionDate(Date completionDate) 
    {
        this.completionDate = completionDate;
    }

    public Date getCompletionDate() 
    {
        return completionDate;
    }
    public void setRequestCost(BigDecimal requestCost) 
    {
        this.requestCost = requestCost;
    }

    public BigDecimal getRequestCost() 
    {
        return requestCost;
    }
    public void setRequestName(String requestName) 
    {
        this.requestName = requestName;
    }

    public String getRequestName() 
    {
        return requestName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requestId", getRequestId())
            .append("officeId", getOfficeId())
            .append("userId", getUserId())
            .append("requestDate", getRequestDate())
            .append("requestProblem", getRequestProblem())
            .append("requestStauts", getRequestStauts())
            .append("maintenanceDate", getMaintenanceDate())
            .append("completionDate", getCompletionDate())
            .append("requestCost", getRequestCost())
            .append("requestName", getRequestName())
            .toString();
    }
}
